import {
	homePage,
	devUrl,
	prodUrl,
	fileUrl,
	uploadFileUrl
} from '@/common/config'

const state = {
   homePage: homePage,
   baseUrl: process.env.NODE_ENV === 'development' ? devUrl : prodUrl,
   baseFileUrl: process.env.NODE_ENV === 'development' ? devUrl+fileUrl : prodUrl+fileUrl,
   baseUploadFileUrl: process.env.NODE_ENV === 'development' ? devUrl+uploadFileUrl : prodUrl+uploadFileUrl
}

export default {
  namespaced: true,
  state
}

